package com.job.Gai_Yian.Homework0707;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-09 00:56:35
 */
public class Example1 {
    public String name="金老师";
    int age=20;
    private double weight;

    public void show1(){
        System.out.println("show1");
    }
    void show2(){
        System.out.println("show2");
    }
    private void show3(){
        System.out.println("show3");
    }
    public Example1(){
    }
    Example1(String name, int age, double weight){
        this.age=age;
        this.name=name;
        this.weight=weight;
    }
    private Example1(String name){
        this.name=name;
    }
    public static void main(String[] args){
        Example1 worker=new Example1("Dave");
        worker.show3();
    }
}


